package com.smedi.ismedi.authority.starter.feign;

import com.smedi.ismedi.authority.starter.common.ResponseData;
import com.smedi.ismedi.authority.starter.request.UserActionLogRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @className: InmailFeignClient
 * @Description: TODO
 * @version: v1.0.0
 * @author: wzx
 * @date: 2022/9/30 15:03
 */

@Component
@FeignClient(name = "ismedi-inmail", path = "/api/v1/action")
public interface InmailFeignClient {

    @PostMapping("/user-action/save")
    ResponseData<Boolean> saveUserAction(UserActionLogRequest request);

}